package com.tanhua.dubbo.api;

import com.tanhua.model.domain.User;

import java.util.List;

public interface UserApi {
    User findByPhone(String phone);

    Long saveUser(User user);

    void update(User user);

    List<User> findAllUser();

    User findById(Long userId);
}
